package com.yh.csx.bsf.flow.core.base;

import lombok.Data;
import lombok.var;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: chejiangyi
 * @version: 2019-11-06 13:45
 * 流程绘制
 **/
@Data
public class Paint {
    private List<node> nodes;
    private List<link> links;

    // { key: "A",  name: "1", category: 'template2',loc: "0 0" },
    @Data
    public static class node{
        private String key;
        private String name;
        private String category;
        private String loc;
    }
    //{ from: "A", to: "B" },
    @Data
    public static class link{
        private String from;
        private String to;
        private String text;
    }


}
